<!--
 * @Description: 背景
 * @Author: charles
 * @Date: 2021-08-12 11:22:01
 * @LastEditors: charles
 * @LastEditTime: 2021-08-12 11:43:06
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>背景</title>
  <style>
    body {
      margin: 0;
    }
    .header {
      background-color: #f3f3f3;
      background-image: url('./images/header.png');
      background-repeat: no-repeat;
      background-size:60%;
      background-position: 10px 20px;
      height: 100px;
    }
  </style>
</head>
<body>
  <div class="header">
    hello world
  </div>
</body>
</html>
